home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11127 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: comp.vuw.ac.nz!waikato!kcbbs!riplin
  2. Newsgroups: comp.lang.c
  3. Subject: Re: Is COBOL Dead?!
  4. From: riplin@kcbbs.gen.nz (Richard Plinston)
  5. Date: 22 Mar 96 02:08:05 GMT
  6. Message-ID: <329681.7685.12167@kcbbs.gen.nz>
  7. References: <4ibtqm$1u7@news.netcentral.co.uk>
  8. Organization: Kappa Crucis Unix BBS, Auckland, New Zealand
  9.  
  10. In message <<4ibtqm$1u7@news.netcentral.co.uk>> <> writes:
  11. > > > 
  12. > > > Try to port the "hello, world" program to COBOL.  If your interest in
  13. > > > COBOL survives this experience, go ahead with gCOBOL :-)  You may also
  14. > > > like AppleScript, which should have been named son-of-COBOL :-)
  15. > > 
  16. > > Let me see now, full ANSI85 program:
  17. > > 
  18. > >        Identification Division.
  19. > >        Program-Id.  Hello.
  20. > >        Procedure Division.
  21. > >        Main.
  22. > >            DISPLAY "Hello World".
  23. > > 
  24. > > Wow, that is almost several pages.
  25. > > 
  26. > Yeah we all know how crap, how slow, how long winded cobol is
  27. > and some of us are forced to use it as it's part of my college
  28. > course. We really complained but it did no good.
  29.  
  30. In what way is Cobol crap ?  It does the job it was designed to do
  31. probably better than any other language.  Of course no one would
  32. want to write games in it, or operating systems, but then they
  33. are not business systems.
  34.  
  35. In what way is Cobol slow ?  I have some programs here where the
  36. Cobol version outperforms the C version.  Then again, most
  37. business applications don't need a lot of grunt - how much
  38. processor time does it take to multiply a price by a quantity
  39. and add the tax ?
  40.  
  41. Whether Cobol is long-winded or not, and whether it matters,
  42. depends on several factors beyond the understanding of a
  43. student used to write-only languages.
  44.  
  45.